package model
{
	import flash.events.*;
	public class PlayerEvent extends Event
	{
		public static const IOError:String = IOErrorEvent.IO_ERROR;
		public static const MediaOpen:String = Event.OPEN;
		public static const Stop:String = 'STOP';
		public static const Pause:String = 'PAUSE';
		public static const VolumeChange:String = 'VOLUMECHANGE';
		public static const MediaLoadComplete:String = Event.COMPLETE;
		public static const Bufferring:String = ProgressEvent.PROGRESS;
		public static const MediaEnd:String = Event.SOUND_COMPLETE;
		public static const TimeTick:String = 'TIMETICK';
		public static const PlayListsChange:String = 'PLAYLISTSCHANGE';
		
		public var playerState:PlayerState;
		public var playerTimeState:PlayerTimeState;
		
		public function PlayerEvent(eventType:String,playerState:PlayerState):void{
			super(eventType);
			this.playerState = playerState;
		}
	}
}